Jump to content
groads2

How do I transform the xml that has both types of notation such as ">" and > mixed in xml?

Recommended Posts

I have an xml that contains both types of notation. Being new to xslt I don't know how I should handle this. I have attached the xml. My style sheet does not traverse through the part that has the escaped characters (>).

<?xml version="1.0" encoding="utf-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><ns5:CorrelatedMessageResponse xmlns:ns1="http://niem.gov/niem/appinfo/2.0" xmlns:ns2="http://niem.gov/niem/structures/2.0" xmlns:ns3="https://collect.prodcjis.ct.gov/ctsp/ext/1.0" xmlns:ns4="https://collect.prodcjis.ct.gov/ctsp/cjis/1.0" xmlns:ns5="https://collect.prodcjis.ct.gov/ctsp/queries/1.0" xmlns:ns6="https://collect.prodcjis.ct.gov/ctsp/messages/1.0" xmlns:ns7="https://collect.prodcjis.ct.gov/ctsp/NLETS/1.0"><ns3:ResponseFormat>XML</ns3:ResponseFormat><ns5:MessageResponse><?xml version="1.0" encoding="UTF-8"?><ncic:Message xmlns:cjis="http://cjis.fbi.gov/1.0.0" xmlns:ncic="http://cjis.fbi.gov/ncic/1.0.5" xmlns:n-art="http://cjis.fbi.gov/ncic/1.0.5/article" xmlns:n-boa="http://cjis.fbi.gov/ncic/1.0.5/boat" xmlns:n-gun="http://cjis.fbi.gov/ncic/1.0.5/gun" xmlns:n-ide="http://cjis.fbi.gov/ncic/1.0.5/identitytheft" xmlns:n-ima="http://cjis.fbi.gov/ncic/1.0.5/image" xmlns:n-lic="http://cjis.fbi.gov/ncic/1.0.5/licenseplate" xmlns:n-mis="http://cjis.fbi.gov/ncic/1.0.5/missingperson" xmlns:n-ori="http://cjis.fbi.gov/ncic/1.0.5/ori" xmlns:n-pro="http://cjis.fbi.gov/ncic/1.0.5/protectionorder" xmlns:n-sec="http://cjis.fbi.gov/ncic/1.0.5/securities" xmlns:n-sen="http://cjis.fbi.gov/ncic/1.0.5/sentry" xmlns:n-######="http://cjis.fbi.gov/ncic/1.0.5/sexualoffender" xmlns:n-sup="http://cjis.fbi.gov/ncic/1.0.5/supervisedrelease" xmlns:n-uni="http://cjis.fbi.gov/ncic/1.0.5/unidentifiedperson" xmlns:n-vbp="http://cjis.fbi.gov/ncic/1.0.5/vehicleboatpart" xmlns:n-veh="http://cjis.fbi.gov/ncic/1.0.5/vehicle" xmlns:n-vgt="http://cjis.fbi.gov/ncic/1.0.5/vgtof" xmlns:n-wan="http://cjis.fbi.gov/ncic/1.0.5/wantedperson" xmlns:n-irr="http://cjis.fbi.gov/ncic/1.0.5/irregular" xmlns:jxdm="http://www.it.ojp.gov/jxdm/3.0.3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><cjis:HeaderSection><cjis:TransactionKeyText>QV</cjis:TransactionKeyText><cjis:TransactionHeaderText>1N01UIPSC22498</cjis:TransactionHeaderText><cjis:TransactionOrganization><jxdm:OrganizationORIID><jxdm:ID>CT0010600</jxdm:ID></jxdm:OrganizationORIID></cjis:TransactionOrganization></cjis:HeaderSection><ncic:ResponseDataSection><ncic:NoHitDataSection><ncic:PropertyNoHitResponse><cjis:CaveatText cjis:type="NoHit">NO RECORD</cjis:CaveatText><jxdm:VehicleRegistrationPlateID><jxdm:ID>700KNU</jxdm:ID></jxdm:VehicleRegistrationPlateID></ncic:PropertyNoHitResponse></ncic:NoHitDataSection></ncic:ResponseDataSection><n-veh:QueryDataSection><n-veh:VehicleQuery><jxdm:VehicleRegistrationPlateID xsi:type="ncic:PlateIDType"><jxdm:ID>700KNU</jxdm:ID></jxdm:VehicleRegistrationPlateID><jxdm:PropertyImage><jxdm:BinaryAvailableIndicator>true</jxdm:BinaryAvailableIndicator></jxdm:PropertyImage></n-veh:VehicleQuery></n-veh:QueryDataSection></ncic:Message></ns5:MessageResponse></ns5:CorrelatedMessageResponse></soapenv:Body></soapenv:Envelope>

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...