[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: How to get XSL style sheet to ignore a setting in

Subject: Re: How to get XSL style sheet to ignore a setting in an XML file
From: "Martin Honnen martin.honnen@xxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 4 Nov 2014 20:50:58 -0000
Re:  How to get XSL style sheet to ignore a setting in
That is a namespace declaration, with XSLT 2.0 put
xpath-default-namespace="http://com/exlibris/repository/acq/invoice/xmlbeans"
on the xsl:stylesheet element

--
Diese Nachricht wurde von meinem Android Mobiltelefon mit GMX Mail
gesendet.

"Catherine Wilbur cwilbur@xxxxxxxxxxx"
<xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>schrieb:

  First line of my XML file has the following information in it.

  <payment_data xmlns="http://com/exlibris/repository/acq/invoice/xmlbeans"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

  Style sheet will not process the xsl conversion logic until I remove
  the following from the the above line in my XML file
   xmlns="http://com/exlibris/repository/acq/invoice/xmlbeans"

  This is logic at very top of my style sheet

  <xsl:stylesheet version="2.0"
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  xmlns:xs="http://www.w3.org/2001/XMLSchema"
  xmlns:fn="http://www.w3.org/2005/xpath-functions"
  xmlns:xdt="http://www.w3.org/2005/xpath-datatypes"
  xmlns:err="http://www.w3.org/2005/xqt-errors"
  exclude-result-prefixes="xs xdt err fn"
  >

  <xsl:output method="text" indent="no"/>

  1)  How do I ask the style sheet to ignore the "xmlns="?
  2)  Is there a way to remove it if it is in there?
  3)  Might be able to ask company to remove it?

  As soon as I copy the XML to new file name and remove that section of
  code then the file gets converted by the style sheet.

  Has anyone encountered this problem before?
  _____________________________________________________________________
  Catherine Wilbur  |  Senior Application Programmer  |  IT Services
  401 Sunset Avenue, Windsor ON Canada  N9B 3P4
  (T) 519.253.3000 Ext. 2745  |  (F) 519.973.7083  |  (E)
  cwilbur@xxxxxxxxxxx
  www.uwindsor.ca/its XSL-List info and archiveEasyUnsubscribe (by
  email)

XSL-List info and archiveEasyUnsubscribe (by email)

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.