Subject: [xsl] namespace From: nrashidi <nrashidi@xxxxxx> Date: Fri, 21 Jun 2002 10:26:35 -0400 |
Hello, When i run my stylesheet I have been getting a namespace error for <ref:SECTION GIDR="t_28_part_0_00004"/>. It says the namespace ref is not declared. in my attemps to fix this, the only way i could get it to work was by adding xmlns:ref="http://nothing to the <SUBPART GID="t_28_part_0_00003" PARENT-GIDR="t_28_part_0" CHRCNT="6930"> in the xml file. This has worked fine for my test purposes but , now that would mean that i would have to add this to every xml file. I was wondering if there is a better way to declare the namespace ref. below is an example of what my xml file would look like. Thanks, Nick <SUBPART GID="t_28_part_0_00003" PARENT-GIDR="t_28_part_0" CHRCNT="6930"> <BIBINF> <BTI>28 CFR</BTI> <BTISB>Judicial Administration</BTISB> <BCH>CHAPTER I</BCH> <BCHSB>DEPARTMENT OF JUSTICE</BCHSB> <BPT>PART 0</BPT> <BPTSB>ORGANIZATION OF THE DEPARTMENT OF JUSTICE</BPTSB> <BIBSRT>28000000000</BIBSRT> <BSUBPT>Subpart B</BSUBPT> <BSUBPTSB>Office of the Attorney General</BSUBPTSB> <BSUBPTCT>6930</BSUBPTCT> </BIBINF> <HED>Subpart B—Office of the Attorney General</HED> <ref:SECTION GIDR="t_28_part_0_00004"/> <ref:SECTION GIDR="t_28_part_0_00005"/> <ref:SECTION GIDR="t_28_part_0_00006"/> <ref:SECTION GIDR="t_28_part_0_00007"/> <ref:SECTION GIDR="t_28_part_0_00008"/> </SUBPART> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] count string-length witho, Michael Kay | Thread | Re: [xsl] namespace, David Carlisle |
Re: [xsl] xsl:copy producing ugly o, David Carlisle | Date | Re: [xsl] namespace, David Carlisle |
Month |