Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


RE: search and replace

From: "Andrew"<diakin@-----.-->
To: NULL
Date: 2/20/2007 3:42:00 PM


> Hey everyone. I am running into a problem with unique ids that need to
> be compared in two xml files. The actual object name is represented
> with its unique id later in the xml file, so i need to do a search on
> an id, find its name, and then replace the original id with the name
> instead. If this doesn't make much sense, here is an example:
> 
> <DBViewer template_id=" .... />
>     <Fruits type="ObjectLink" >:1170775272:459887139:</Fruits>
> </DBViewer>
> 
> <excel_database template_id=":324:431:" id=":1170775272:459887139:"
> name="banana" />
> 
> In this example, the Fruit ObjectLink should be "banana" because it
> has the same id as the database below.
> 
> I have already been doing xsl transformations on this file, so if that
> is possible for this situation, that would be great. How do you guys
> reccommend going about this?

Don't testing it for xml , but possible it can help
-----------
You can use RQ Search and Replace to search and replace HTML code for tags, attribute names, or values.
   For example you can change the font size of one font type without affecting any others.
[font size="2" face="Arial"] will be changed to [font size="3" face="Arial"], but tag [font size="2" face="Verdana"] remain the same size="2".
   You can delete or change HTML tags, it's attributes or attributes values. 
Don't worry about attribute's order in tag - program parsed HTML code and get all attributes and its values properly.
-------------------
homepage - http://www.miraxem.com/rqsr.html 

WBR, Andrew




BizTalk Utilities - Frustration free BizTalk Adapters
http://www.topxml.com/biztalkutilities


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent