> If I write an extension function that returns the DOCTYPE as
> a String, will this work ? Or will this still be a text node
> with a bunch of characters ? I have experience with writing
> small extension functions, but I have no idea how I can
> return an DOCTYPE.
The DOCTYPE is not represented in the result tree, it is only
represented in the serialized output. So there is no way you can add it
except at serialization time.
Michael Kay
Software AG
home: Michael.H.Kay@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
- RE: Generating variable DOCTYPE, (continued)
- Yates, Danny (ANTS) - Thu, 16 Jan 2003 04:58:33 -0500 (EST)
- Cams Ismael - Thu, 16 Jan 2003 05:27:03 -0500 (EST)
- Cams Ismael - Thu, 16 Jan 2003 05:45:04 -0500 (EST)
- Michael Kay - Thu, 16 Jan 2003 10:08:11 -0500 (EST) <=
- Yates, Danny (ANTS) - Thu, 16 Jan 2003 06:00:58 -0500 (EST)
- Jarno . Elovirta - Thu, 16 Jan 2003 06:15:01 -0500 (EST)
- Cams Ismael - Thu, 16 Jan 2003 06:46:51 -0500 (EST)
- Yates, Danny (ANTS) - Thu, 16 Jan 2003 06:52:31 -0500 (EST)
|
|