You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xerces.apache.org by Laval Chung <lc...@sunbowtechnology.com> on 2002/05/09 09:46:26 UTC
setting the xsl file in the xml file
How do u set the
<?xml-stylesheet type="text/xsl" href="???.xsl"?>
in a xml file that i'm creating through codes.
I can't see any method in the class org.apache.xml.serialize.Outputformat to do that.
Though i can see setVersion.
Cheers
laval
RE: setting the xsl file in the xml file
Posted by Alistair Hopkins <be...@btopenworld.com>.
How about setProcessingInstruction or s'thing? That's all this is. The
attributes are really 'pseuado attributes': bit of a fit up.
http://www.w3.org/TR/xml-stylesheet/
Al
-----Original Message-----
From: Laval Chung [mailto:lchung@sunbowtechnology.com]
Sent: 09 May 2002 08:46
To: xerces-j-user@xml.apache.org
Subject: setting the xsl file in the xml file
How do u set the
<?xml-stylesheet type="text/xsl" href="???.xsl"?>
in a xml file that i'm creating through codes.
I can't see any method in the class org.apache.xml.serialize.Outputformat
to do that.
Though i can see setVersion.
Cheers
laval
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.344 / Virus Database: 191 - Release Date: 02/04/2002