Home | History | Annotate | Download | only in fxcrt

Lines Matching defs:pElement

389     CXML_Element* pElement;

391 pElement = FX_NewAtAllocator(m_pAllocator)CXML_Element(m_pAllocator);
393 pElement = FX_NEW CXML_Element;
395 if (pElement) {
396 pElement->m_pParent = pParent;
397 pElement->SetTag(tag_space, tag_name);
401 if (!pElement) {
431 pElement->m_AttrMap.SetAt(attr_space, attr_name, attr_value, m_pAllocator);
443 return pElement;
449 return pElement;
454 FX_DeleteAtAllocator(pElement, m_pAllocator, CXML_Element);
456 delete pElement;
462 return pElement;
504 InsertContentSegment(bCDATA, dataStr, pElement);
511 CXML_Element* pSubElement = ParseElement(pElement, TRUE);
515 pSubElement->m_pParent = pElement;
516 pElement->m_Children.Add((FX_LPVOID)CXML_Element::Element);
517 pElement->m_Children.Add(pSubElement);
550 InsertContentSegment(bCDATA, dataStr, pElement);
555 return pElement;
557 void CXML_Parser::InsertContentSegment(FX_BOOL bCDATA, FX_WSTR content, CXML_Element* pElement)
572 pElement->m_Children.Add((FX_LPVOID)CXML_Element::Content);
573 pElement->m_Children.Add(pContent);
578 CXML_Element* pElement = parser.ParseElement(NULL, FALSE);
582 return pElement;
719 const CXML_Element *pElement = this;
722 pwsSpace = pElement->m_AttrMap.Lookup(FX_BSTRC(""), FX_BSTRC("xmlns"));
724 pwsSpace = pElement->m_AttrMap.Lookup(FX_BSTRC("xmlns"), qName);
729 pElement = pElement->GetParent();
730 } while(pElement);
737 const CXML_Element *pElement = this;
740 pwsSpace = pElement->m_AttrMap.Lookup(FX_BSTRC(""), FX_BSTRC("xmlns"));
742 pwsSpace = pElement->m_AttrMap.Lookup(FX_BSTRC("xmlns"), qName);
747 pElement = pElement->GetParent();
748 } while(pElement);