|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] XSLT, XHTML, and default attribute values [somewhat OT
Greetings - Say I'm working with XHTML, which I intend to process somehow in various ways (including XSLT, to make this somewhat on-topic) and I include an appropriate DOCTYPE decl at the head of the source file. A consequence of this is that default attribute values get added to the tree before my processor has a chance operate on it. So now I've either got to remove the default attribute values, which seems ridiculous, or leave them in and send them explicitly to my clients, which is pointless since they are, after all, defaults. This happens even if I've explicitly disabled validation. I can work around this by not using the XHTML DOCTYPE decl. This means I've got to supply at least my own internal subset containing any entities I might want to use, which is a hassle. Seems wrong, since the source is in fact XHTML. So, what am I missing here? -- joe
|
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








