|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: JDK 5 XSLTC handling of namespace prefixes
> So how do I do that, except by writing custom code? > > To clarify: I'm fully aware of I *could* do this. What I am interested > in are pointers about why the approach I've been using with other XSLT > engines doesn't work with Sun's XSLTC. You say yourself: "So XSLTC is rewriting prefixes, and it seems that <http://www.w3.org/TR/xslt#section-Creating-Elements-with-xsl:element> allows it to do so, and generally, the difference shouldn't be significant." So I guess that answers why the on-disk versions differ, when in XML terms the two are equal. I can see your point though, why does this once processor differ from all the rest, even if it is allowed to... (maybe a question for its list) Ultimately comparing two XML files is really hard because the definition of "equal" is too fuzzy, and varies depending on the data and what is considered important. It can't be done using XSLT and traditional diff tools, so custom code is needed. cheers andrew
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








