Subject: RE: [xsl] xsl:id() function does not work though my document has dtd associated From: "Michael Kay" <mike@xxxxxxxxxxxx> Date: Wed, 1 Jun 2005 09:16:44 +0100 |
I wouldn't rely on the id() function working in this environment. You may be able to get it to work (at the very least, you'll need to validate your document against the DTD rather than just creating the DTD) but it will probably be rather system-dependent. It would be much easier and more robust to declare a key in the stylesheet and use that instead. Michael Kay http://www.saxonica.com/ > -----Original Message----- > From: Ranjan K. Baisak [mailto:ranjanbaisak@xxxxxxxxx] > Sent: 01 June 2005 08:57 > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > Subject: [xsl] xsl:id() function does not work though my > document has dtd associated > > My Document has dtd associated, but still the id() > function does not seem to work. > Can anybody suggest me what might be wrong. > I am creating Document as below: > > DOMImplementation domImpl = > dbf.newDocumentBuilder().getDOMImplementation(); > DocumentType docType = > domImpl.createDocumentType("project","\"-//Test//Project > 1.0//EN\"","c:/test/dtd/test.dtd"); > Document newDoc = > domImpl.createDocument(null,"project",docType); > > regards, > Ranjan > > > > __________________________________ > Discover Yahoo! > Get on-the-go sports scores, stock quotes, news and more. > Check it out! > http://discover.yahoo.com/mobile.html
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] xsl:id() function does not wo, Ranjan K. Baisak | Thread | RE: [xsl] xsl:id() function does no, Ranjan K. Baisak |
[xsl] xsl:id() function does not wo, Ranjan K. Baisak | Date | Re: [xsl] disable-output-escaping f, David Carlisle |
Month |